<template>
    <div>
        <mt-swipe :auto="4000">
            <mt-swipe-item v-for="(item,i) in list" :key="i">
               <img :src="item.img_url" alt="">
            </mt-swipe-item>
        </mt-swipe>
    </div>
</template>
<script>
export default {
    //接收组件传递过来的值
    props:["list"]
}
</script>
<style lang="scss">
    .mint-swipe{
        height: 200px;
       .mint-swipe-items-wrap{
           &:nth-child(1){
               background: aqua;
           }
           :nth-child(2){
               background: red;
           }
           :nth-child(3){
               background: purple;
           }
           img{
               width: 100%;
               height: 200px;
           }
       }
        
    }
</style>